package com.zetatech.bdp.parser.parser;

import com.zetatech.bdp.entity.Field;

import java.io.File;
import java.io.IOException;
import java.util.List;

/**
 * 文件解析
 *
 * @author cheng.cao@zetatech.com.cn
 */
public interface FileParser<T> {
    T parse(File file, List<Field> fields) throws IOException;
}
